package es.ats.codington.festival.domain;

/**
 * POJO class to represent People domain class 
 */
public abstract class People {

	// Encapsulated data fields for People class
	/**
	 * Member variables of People class
	 */
	private int idPeople;
	private String firstName;
	private String lastName;
	private String email;
	private long phone;
	private String address;
	private String dni;
	
	// --------------Getters and Setters---------------------------
	
	public int getIdPeople() {
		return idPeople;
	}
	public void setIdPeople(int idPeople) {
		this.idPeople = idPeople;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public long getPhone() {
		return phone;
	}
	public void setPhone(long phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getDni() {
		return dni;
	}
	public void setDni(String dni) {
		this.dni = dni;
	}

	
	//----------------Constructor-----------------

/**
 * People class constructor
 * @param firstName
 * @param lastName
 * @param email
 * @param phone
 * @param address
 * @param dni
 */
public People(String firstName, String lastName, String email, long phone,
			String address, String dni) {
		super();
		this.firstName = firstName;
		this.lastName = lastName;
		this.email = email;
		this.phone = phone;
		this.address = address;
		this.dni = dni;
	}

	/**
	 * People class constructor without parameters.
	 */
	public People()	{}
	
}
